const mongoose  = require('mongoose')

const billSchema = new mongoose.Schema({
    title:{
        type:String,
        required:true
    },
    time:{
        type:String,
    },
    type:{
        type:Number,
        default:-1
    },
    account:{
        type:Number,
        required:true
    },
    remarks:{
        type:String,
        required:true
    }
})

const billModel = mongoose.model('list',billSchema)

module.exports = billModel